<!--#include("header.html")-->

<!--@if($oSourceComment->isExists())-->
<div class="fbList">
    <div class="item itemOnly">
	
		<div class="itemAside">
			<h4 class="author"><a href="#popup_menu_area" class="member_{$oSourceComment->getMemberSrl()}" onclick="return false">{$oSourceComment->getNickName()}</a></h4>
			<p class="meta">
				{$oSourceComment->getRegdate("Y.m.d H:i")}
				<!--@if($grant->manager)-->
				<br />{$oSourceComment->get('ipaddress')}
				<!--@end-->
			</p>
		</div>
		
		<div class="iContent">
			{$oSourceComment->getContent(false)}
		</div>

    </div>
</div>
<!--@end-->

<!--@if(!$is_logged)-->
	{@ $ruleset = "insert_comment_not_logged"}
	{@ $act_insert = "procWikiInsertCommentNotLogged"}
<!--@else-->
	{@ $ruleset = "insert_comment"}
	{@ $act_insert = "procWikiInsertComment"}
<!--@end-->
<form action="./" method="post" ruleset="{$ruleset}" class="wkEditor" >
	<input type="hidden" name="act" value="{$act_insert}" />
	<input type="hidden" name="success_return_url" value="{getUrl('act','dispWikiContent', 'module_srl', $module_info->module_srl,'document_srl',$oDocument->document_srl)}" />
	<input type="hidden" name="module" value="wiki" />
	<input type="hidden" name="mid" value="{$mid}" />
	<input type="hidden" name="document_srl" value="{$oComment->get('document_srl')}" />
	<input type="hidden" name="comment_srl" value="{$oComment->get('comment_srl')}" />
	<input type="hidden" name="content" value="{htmlspecialchars($oComment->get('content'))}" />
	<input type="hidden" name="parent_srl" value="{$oComment->get('parent_srl')}" />

	<div class="wkWrite commentEditor">

		<div class="editor">{$oComment->getEditor()}</div>

		<div class="editOption">
		<!--@if(!$is_logged)-->
		<input type="text" name="nick_name" class="iText userName" value="{$lang->writer}" onfocus="this.value=''" />
		<input type="password" name="password" class="iText userPw" value="{$lang->password}" onfocus="this.value=''" />
		<input type="text" name="email_address" class="iText emailAddress" value="{$lang->email_address}" onfocus="this.value=''" />
		<input type="text" name="homepage" class="iText homePage" value="{$lang->homepage}" onfocus="this.value=''" />
		<!--@end-->

		<!--@if($is_logged)-->
			<input type="checkbox" name="notify_message" value="Y" id="notify_message" class="inputCheck" />
			<label for="notify_message">{$lang->notify}</label>
		<!--@end-->
			<input type="checkbox" name="is_secret" value="Y" id="is_secret" class="inputCheck" />
			<label for="is_secret">{$lang->secret}</label>
		</div>

		<div class="wkNav">
			<span class="btn"><input type="submit" value="{$lang->cmd_comment_registration}" /></span>
		</div>

	</div>


</form>

<!--#include("footer.html")-->
